package adapter.classadapter;

/**
 * @Author liangliangzhao
 * @data 2023/3/27 15:55
 */

public class VoltageAdapter extends Voltage220V implements IVoItage5V{
    @Override
    public int output5V() {
        //获取到220V电压
        int srcV = output220();
        int dsV = srcV / 44;//转换成5v
        return dsV;
    }
}
